<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title></title>
    <style>
    * {
      padding: 0;
      margin: 0;
      list-style: none;
    }
    .father {
      width: 1300px;
      height: 633px;
      background-color: pink;
      display: flex;
      justify-content: space-between;
    }
    .left {
      width: 300px;
      height: 633px;
      background-color: red;
    }
    .right {
      width: 967px;
      height: 633px;
      background-color: green;
    }
    .right ul {
      height: 633px;
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      /* 换行与侧轴对齐方式结合经验 */
      /* 允许换行，侧轴对齐方式为center时，根据换的行数，将弹性容器均分成多行，每行内的盒子都在自己的部分，垂直居中 */
      align-items: center;
      /* align-items: start; */
    }
    .right li {
      width: 300px;
      height: 300px;
      background-color: orange;
      /* margin-bottom: 33px; */
    }
    </style>
    <link href="css/style.css" rel="stylesheet">
  </head>
  <body>
  <div class="father">
      <div class="left"></div>
      <div class="right">
        <ul>
          <li>1</li>
          <li>2</li>
          <li>3</li>
          <li>4</li>
          <li>5</li>
          <li>6</li>
        </ul>
      </div>
    </div>
  </body>
</html>
